Platform Explorer / Nuxeo Platform 6.0

Operation LogOperation (Log)

Description

Logging with log4j
Operation id LogOperation
Category Notification
Label Log
Requires
Since

Parameters

Name Description Type Required Default value
level string yes info, debug, warn, error 
message string yes  
category string no  

Signature

Inputs void
Outputs void

Implementation Information

Implementation Class Class: org.nuxeo.ecm.automation.core.operations.LogOperation
Contributing Component org.nuxeo.ecm.core.automation.coreContrib

JSON Definition

{
  "id" : "LogOperation",
  "label" : "Log",
  "category" : "Notification",
  "requires" : null,
  "description" : "Logging with log4j",
  "url" : "LogOperation",
  "signature" : [ "void", "void" ],
  "params" : [ {
    "name" : "level",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : "Option",
    "order" : 0,
    "values" : [ "info", "debug", "warn", "error" ]
  }, {
    "name" : "message",
    "description" : null,
    "type" : "string",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "category",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  } ]
}